#include <stdio.h>
#include <stdlib.h>

using namespace System;

#pragma once
ref class InterfaceModel
{
public:
	InterfaceModel(void);	
	InterfaceModel(String^ _ip, int _id, String^ _port);
	~InterfaceModel(void);

	String^ getIp(void);
	int getClockrate(void);
	String^ getPort(void);
	bool isShutdown(void);

	void setIp(String^ _ip);
	void setClockrate(int _clockrate);
	void setPort(String^ _port);
	void setShutdown(bool _shutdown);

	enum class Identifier{Serial,FastEthernet};
	
private:
	String^ ip;
	int clockrate;
	String^ port;
	bool shutdown;
};
